package app.sys.model;


public class RetCode {


    public static final RetCode SUCCESS = new RetCode("0000", "操作成功", null);
    public static final RetCode FAIL = new RetCode("9999", "操作失败", null);//请求失败


    private String status;

    private String msg;

    private String logId;

    public RetCode(String status, String msg) {
        this.status = status;
        this.msg = msg;
        this.logId = null;
    }

    public RetCode(String status, String msg, String logId) {
        this.status = status;
        this.msg = msg;
        this.logId = logId;
    }


    public RetCode(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getLogId() {
        return logId;
    }

    public void setLogId(String logId) {
        this.logId = logId;
    }
}
